package com.aaa.mythread;

import java.util.concurrent.Semaphore;

public class MyThread14 implements Runnable {


    private  Object object = new Object();



    @Override
    public void run() {

        try {
            object.wait();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }


    public static void main(String[] args) {
        Thread thread = new Thread(new MyThread14());
        thread.start();


    }
}
